package indi.kider.server.apabus.service.related;


import indi.kider.common.model.employee.Waiter;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import pers.vankid.common.model.base.CommonResponse;

@FeignClient(value = "human-resources")
@RestController
@RequestMapping("waiter")
public interface WaiterService {

    @GetMapping("{id}")
    public CommonResponse<Waiter> getWaiterById(@PathVariable(value = "id") Long id);
}
